<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="author" content="23ps" />
    <meta name="copyright" content="www.23ps.com" />
    <meta name="keywords" content="{dede:field name='keywords'/}" />
    <meta name="description" content="{dede:field name='description' function='html2text(@me)'/}" />
    <title>{dede:field.title/}_{dede:global.cfg_webname/}</title>
    <link href="{dede:global.cfg_templets_skin/}/style/style.css" rel="stylesheet" type="text/css" />
    <link href="/rssfeed.xml" rel="alternate" type="application/rss+xml" title="图片处理教程网 RSS Feed" />
    <link href="/opensearch.xml" rel="search" type="application/opensearchdescription+xml" title="图片处理教程网" />
	<script src="{dede:global.cfg_templets_skin/}/js/jquery.js" type="text/javascript"></script>
	<script type="text/javascript" src="{dede:global.cfg_templets_skin/}/js/comments.js"></script>
</head>

<body class="detailedpage">
    <!-- header -->
    {dede:include filename="head.htm"/}
    <!-- header end -->
    
    <!-- content -->
    <div class="content clearfix">
        <div class="breadcrumbs">{dede:field name='position'/}><span>{dede:field.title/}</span></div>
        <div class="main-col mod-detailed-page">
            <h1 class="post-title title">{dede:field.title/}</h1>
            <div class="post-detailed-box">
                <div class="post-info">
                    <a href="http://www.laifu.net/forum-14-1.html" target="_blank" class="help">学习中需要帮助？</a>
                    <strong>
                    {dede:field.mid runphp='yes'}
                    			$dsql = new dedesql();
                            	$mid = intval(@me);
                            	if($mid == 0) {
                            		$mid = 1;
                            	}
                            	$user = $dsql->getOne("select mid,userid,uname from ps_member where mid=".$mid);
                            	if(empty($user['userid'])){
                            		$username = $user['userid'] = 'admin';
                            	}else if(!empty($user['userid'])){
                            		$username = $user['userid'];
                            	}else{
                            		$username = $user['userid'];
                            	}
                            	@me = "<a href='/member/index.php?uid=".$user['userid']."' class='user'>".$username."</a>";
                    {/dede:field.mid}
                    </strong><span>发布于：{dede:field.pubdate function="MyDate('Y-m-d',@me)"/}</span>
                </div>
                <div class="post-content clearfix">
                    <div class="post-description clearfix">
                        <div class="ad-300x200">{dede:myad name='AD-300x200x1'/}</div>
                        <div class="text">
                        <h3>文章摘要：</h3>
                        <p>{dede:field.description/}</p>
                        </div>
                    </div>
                    <!-- coneent -->
                    <div id="art_body">
                     {dede:field.aid runphp='yes'}
                     $dsql = new dedesql();
                     $aid = intval(@me);
                     $art = "select * from ps_addonarticle where aid=$aid";
                     $artinfo = $dsql->getOne("select * from ps_addonarticle where aid=$aid");
                     if($artinfo['isfree'] == '收费'){
                     	$art = '<div class="buypost">此文章收费，需花费<strong>'.$artinfo['integral'].'</strong>积分,请<input type="button" value="点此购买" onClick="window.location.href=\'/member/mypay.php?dopost=buy&aid='.$aid.'&refer=\'+window.location.href" />后方可查看全部内容</div>';
                     	$art .= "<script type='text/javascript'>\$(document).ready(function(){\$.post(\"/member/mypay.php?dopost=check&aid={$aid}\",function(data){if(data != ''){\$('#art_body').html(data);}})});</script>";
                     	$art .= mb_substr(strip_tags($artinfo['body'],'a'),0,600,'utf-8');
                     	$art .= '<div style="margin-top:15px;" class="buypost">此文章收费，需花费<strong>'.$artinfo['integral'].'</strong>积分,请<input type="button" value="点此购买" onClick="window.location.href=\'/member/mypay.php?dopost=buy&aid='.$aid.'&refer=\'+window.location.href" />后方可查看全部内容</div>';

                     }else{
                     	$art = $artinfo['body'];
                     }
                     @me = $art;
                     {/dede:field.aid}
                     </div>
                    <!-- end -->
                </div>
				
                <div class="post-tip">
                教程中的图片点击可以放大观看。教程如果有误请发送邮件到<a href="mailto:info@51ps.com">info@51ps.com</a> 向我们反馈。<br/>
                学习本教程过程中遇到不懂的技术问题，请点 <a href="http://www.laifu.net/forum-14-1.html" target="_blank">[这里]</a> ，将有老师一对一提供答疑服务。作业交到 <a href="http://www.laifu.net/forum-27-1.html" target="_blank">[这里]</a> 。
                </div>
                <div class="sociable">
                    <span id="newdigg" class="t"><a onClick="javascript:postDigg('good',{dede:field.id/})" href="#nogo"><img alt="推荐文章" src="/templets/23ps/img/t.png" /></a><strong id="diggnum"></strong><script type="text/javascript">$(document).ready(function(){$('#diggnum').load('{dede:global.cfg_phpurl/}/digg_ajax.php?id={dede:field.id/} i');});</script></span>
                    <span class="s"><a href="{dede:field name='phpurl'/}/stow.php?aid={dede:field.id/}" target="_blank"><img alt="收藏文章" src="/templets/23ps/img/s.png" /></a></span>
                    <ul>
                        <li><a rel="nofollow" target="_blank" href="http://www.kaixin001.com/repaste/share.php?rurl=http://www.23ps.com{dede:field.aid runphp='yes'} $aid=@me;@me='';$url=GetOneArchive($aid);@me=$url{'arcurl'};{/dede:field.aid}&rcontent={dede:field.title/}" title="kaixin"><img alt="kaixin" src="/templets/23ps/img/16-kaixin001.png" /></a></li>
                        <li><a rel="nofollow" target="_blank" href="http://www.douban.com/recommend/?url=http://www.23ps.com{dede:field.aid runphp='yes'} $aid=@me;@me='';$url=GetOneArchive($aid);@me=$url{'arcurl'};{/dede:field.aid}&title={dede:field.title/}" title="douban"><img alt="douban" src="/templets/23ps/img/16-douban.png" /></a></li>
                        <li><a rel="nofollow" target="_blank" href="http://v.t.qq.com/share/share.php?url=http://www.23ps.com{dede:field.aid runphp='yes'} $aid=@me;@me='';$url=GetOneArchive($aid);@me=$url{'arcurl'};{/dede:field.aid}&title={dede:field.title/}" title="qq"><img alt="qq" src="/templets/23ps/img/16-qqweibo.png" /></a></li>
                        <li><a rel="nofollow" target="_blank" href="http://v.t.sina.com.cn/share/share.php?url=http://www.23ps.com{dede:field.aid runphp='yes'} $aid=@me;@me='';$url=GetOneArchive($aid);@me=$url{'arcurl'};{/dede:field.aid}&title={dede:field.title/}" title="sina"><img alt="sina" src="/templets/23ps/img/16-sinaweibo.png" /></a></li>
                        <li><a rel="nofollow" target="_blank" href="http://share.renren.com/share/buttonshare.do?link=http://www.23ps.com{dede:field.aid runphp='yes'} $aid=@me;@me='';$url=GetOneArchive($aid);@me=$url{'arcurl'};{/dede:field.aid}&title={dede:field.title/}" title="renren"><img alt="renren" src="/templets/23ps/img/16-renren.png" /></a></li>
                        <li><a rel="nofollow" target="_blank" href="http://www.facebook.com/sharer.php?u=http://www.23ps.com{dede:field.aid runphp='yes'} $aid=@me;@me='';$url=GetOneArchive($aid);@me=$url{'arcurl'};{/dede:field.aid}&t={dede:field.title/}" title="facebook"><img alt="facebook" src="/templets/23ps/img/16-facebook.png" /></a></li>
                        <li><a rel="nofollow" target="_blank" href="https://www.google.com/reader/link?url=http://www.23ps.com{dede:field.aid runphp='yes'} $aid=@me;@me='';$url=GetOneArchive($aid);@me=$url{'arcurl'};{/dede:field.aid}&title={dede:field.title/}" title="reader"><img alt="reader" src="/templets/23ps/img/16-google.png" /></a></li>
                        <li><a rel="nofollow" target="_blank" href="http://twitter.com/?status=:http://www.23ps.com{dede:field.aid runphp='yes'} $aid=@me;@me='';$url=GetOneArchive($aid);@me=$url{'arcurl'};{/dede:field.aid}" title="twitter"><img alt="twitter" src="/templets/23ps/img/16-twitter.png" /></a></li>
                        <li><a rel="nofollow" target="_blank" href="http://www.23ps.com/rssfeed.xml" title="rss"><img alt="rss" src="/templets/23ps/img/16-rss.png" /></a></li>
                    </ul>
                </div>
                <div class="related-posts clearfix">
                    <div class="ad-336x280">{dede:myad name='AD-336x280x1'/}</div>
                    <h4>相关文章</h4>
                    <ul>
                    {dede:likearticle row='10' titlelen='42'}
                    	<li><span>●</span><a href="[field:arcurl/]">[field:title/]</a></li>
                    {/dede:likearticle} 
                    </ul>
                </div>
                
                {dede:include file='ajaxfeedback.htm' /}
                
                
            </div>
            <!-- MOD:END -->
        </div>
        <div class="right-sidebar">
            <div class="ad-300x250">
                {dede:myad name='AD-300x250x1'/}
            </div>
            <!-- ad-300x250:END -->
            <div class="mod-box mod-hot">
                <div class="mod-box-head">
                    <h4 class="title">更多“{dede:field.mid runphp='yes'}
                    			$dsql = new dedesql();
                            	$mid = intval(@me);
                            	if($mid == 0) {
                            		$mid = 1;
                            	}
                            	$user = $dsql->getOne("select mid,userid,uname from ps_member where mid=".$mid);
                            	if(empty($user['userid'])){
                            		$username = $user['userid'] = 'admin';
                            	}else if(!empty($user['userid'])){
                            		$username = $user['userid'];
                            	}else{
                            		$username = $user['userid'];
                            	}
                            	@me = $username;
                    {/dede:field.mid}”的教程</h4>
                </div>
                <div class="mod-box-body clearfix">
                    <ul>
                    {dede:field.mid runphp='yes'}
                    		$dsql = new dedesql();
                         	$mid = intval(@me);
                         	if($mid == 0) {
                         		$mid = 1;
                         	}
                         	$sql = "select * from ps_archives where mid=$mid limit 0,8";
                         	$dsql->Execute('me',$sql);
		                    $list = "";
		                    while($arr = $dsql->GetArray('me'))
				            {
				            	$ac = new Archives($arr['id']);
				                $list .= "<li><a href='{$ac->GetTrueUrl(0)}'>{$arr['title']}</a></li>";
				            }
		                    @me = $list;
                    {/dede:field.mid}
                    </ul>
                </div>
                <div class="mod-box-foot">
                </div>
            </div>
            <!-- MOD:END -->
            <div class="mod-box mod-hot">
                <div class="mod-box-head">
                    <h4 class="title">您可能会喜欢</h4>
                </div>
                <div class="mod-box-body clearfix">
                    <ul>
                    {dede:arclist row='1000' pagesize='15' titlelen='1000' orderby='rand'}
                    <li><a href="[field:arcurl/]" title="[field:title /]">[field:title /]</a></li>
                    {/dede:arclist}               
                    </ul>
                </div>
                <div class="mod-box-foot">
                </div>
            </div>
            <!-- MOD:END -->
            <div class="download"><a href="/download.htm"><img src="/templets/23ps/img/download.png" /></a></div>
        </div>
    </div>
    <!-- content end -->
    {dede:include filename="footer.htm"/}
</body>
</html>